package com.liry.security.repository;

import com.baomidou.mybatisplus.extension.service.IService;
import com.liry.security.domain.entity.Role;
import com.liry.security.domain.po.RolePermission;
import java.util.Collection;
import java.util.List;

/**
 * 角色表(Role)持久层
 *
 * @author ALI
 * @since 2023-05-29 21:53:07
 */
public interface RoleRepository extends IService<Role> {

    List<RolePermission> selectByRoleIds(Collection<Integer> roleIds);

    List<RolePermission> roleList();

}

